from commandsniffer.commands.base import BaseCommand
from pydantic.dataclasses import dataclass
from typing import List, Optional


@dataclass
class CompilerCommand(BaseCommand):
    pass


@dataclass
class CCompilerCommand(BaseCommand):

    def __hash__(self) -> int:
        return self.id


@dataclass
class CPPCompilerCommand(CCompilerCommand):
    def __hash__(self) -> int:
        return self.id
